package com.doit.excersise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author qingfeng
 * @since 2018-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    /**
     * 用户名
     */
    private String userName;

    private String userPwd;

    /**
     * 手机号
     */
    private String userMobile;

    /**
     * 用户状态
     */
    private Integer userStatus;

    private LocalDateTime userCreateTime;

    private LocalDateTime userUpdateTime;

    /**
     * 备注
     */
    private String userRemark;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public Integer getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}

	public LocalDateTime getUserCreateTime() {
		return userCreateTime;
	}

	public void setUserCreateTime(LocalDateTime userCreateTime) {
		this.userCreateTime = userCreateTime;
	}

	public LocalDateTime getUserUpdateTime() {
		return userUpdateTime;
	}

	public void setUserUpdateTime(LocalDateTime userUpdateTime) {
		this.userUpdateTime = userUpdateTime;
	}

	public String getUserRemark() {
		return userRemark;
	}

	public void setUserRemark(String userRemark) {
		this.userRemark = userRemark;
	}

	@Override
	public String toString() {
		return "TbUser [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", userMobile="
				+ userMobile + ", userStatus=" + userStatus + ", userCreateTime=" + userCreateTime + ", userUpdateTime="
				+ userUpdateTime + ", userRemark=" + userRemark + "]";
	}

    
}
